#@adminLayout()
#define main()
<div class="card">
    #@cardAddOrEdit("系统分类管理 / "+(model?"修改":"新增"),"sys/taxonomy")
</div>
#end
#define cardCol()
<input type="hidden" name="taxonomy.id" value="#(model.id??)">
<div class="col-sm-6">
    <div class="form-group">
        <lable>名称</lable>
        <input type="text" class="form-control" name="taxonomy.name" value="#(model.name??)"
               placeholder="请输入名称">
        <i class="form-group__bar"></i>
    </div>
</div>
<div class="col-sm-6">
    <div class="form-group">
        <lable>是否启用</lable>
        <select class="form-control" name="taxonomy.isEnable">
            <option value="0" #if(model.isEnable??==0)selected#end>未启用</option>
            <option value="1" #if(model.isEnable??==1)selected#end>启用</option>
        </select>
        <i class="form-group__bar"></i>
    </div>
</div>
<div class="col-sm-6">
    <div class="form-group">
        <lable>标识</lable>
        <input type="text" class="form-control" name="taxonomy.identification" value="#(model.identification??)"
               placeholder="请输入名称">
        <i class="form-group__bar"></i>
    </div>
</div>
#end